//
//  DrawerShouldOpen.swift
//  YunCang
//
//  Created by wangshuning on 16/7/27.
//  Copyright © 2016年 hddden. All rights reserved.
//

import UIKit

class DrawerShouldOpen: NSObject {
    
//    private static var __once: () = {
//            Static.drawerShouldOpen = DrawerShouldOpen()
//        }()
    
    var flag: Bool?
    var numberOfCenterViews: NSInteger?
    
    class var mainDrawerShouldOpen: DrawerShouldOpen {
        struct Static {
            static var onceToken: Int = 0
            static var drawerShouldOpen: DrawerShouldOpen? = nil
        }
        
        return Static.drawerShouldOpen!
    }
    
    
    class func insertModelID(_ id:NSString)->Bool  {
       
//         NSString *path = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"ident.plist"]
    
        return true
    }
}
